import request from '@/utils/request'

// 分页查询操作日志列表
export const listPageOperatelog = (params) => {
  return request({
    url: '/yuxi/operationlog/listpage',
    method: 'get',
    params
  })
}

// 查询操作日志列表
export const listOperatelog = (params) => {
  return request({
    url: '/yuxi/operationlog/list',
    method: 'get',
    params
  })
}

// 查看操作日志详情
export const getOperatelog = (id) => {
  return request({
    url: `/yuxi/operationlog/load/${id}`,
    method: 'get'
  })
}
